package com.woniuxy.service;

import com.woniuxy.entity.DrugDetail;
import com.woniuxy.entity.Withdrawal;
import com.woniuxy.entity.dto.DrugDistributionDTO;
import com.woniuxy.entity.dto.WithdrawalDTO;
import com.woniuxy.util.PageParam;
import com.woniuxy.util.ResponseData;

import java.util.List;

public interface WithdrawalService {
    ResponseData<?> queryList(PageParam<Withdrawal> pageParam);

    //添加退药申请以及退药明细
     ResponseData<?> addWithdrawal(WithdrawalDTO withdrawalDTO);


     //根据退药申请dwNo查询退药明细
    ResponseData<?> queryDrugReturnDetail(String dwNO);


    //同意退药修改退药申请表状态为已完成
    ResponseData<?> updateWithdrawal(Integer id);

}
